Explaining Program Execution in Deductive Systems

نویسندگان

  • Tarun Arora
  • Raghu Ramakrishnan
  • William G. Roth
  • Praveen Seshadri
  • Divesh Srivastava
چکیده

Programs in deductive database and programming systems have a natural meaning that is based upon their mathematical reading as logical rules. High-leveìexplanations' of a program evaluation/execution can be constructed to provide added functionality: (1) To debug a program by following a chain of deductions leading to an unexpected (and possibly incorrect) conclusion; (2) To follow the derivation of certain correct conclusions to determine why and how they are reached; (3) To identify consequences of a (typically, incorrect or unexpected) fact. This functionality can be utilized either to perform post-mortem analysis of a session, or to interactively develop programs by running queries and viewing their deductions simultaneously. `Explanations' of programs are especially important in the context of de-ductive databases for three reasons: (1) These programs could involve re-cursion, and hence, the chain of inferences is often not evident. (2) When the input data set is large, it is very diicult for a user to inspect the data and determine which facts lead to which answers, and exactly how. (3) Such programs do not guarantee a xed evaluation strategy, and this makes it diicult for a user to comprehend unexpected behavior of a program. With this motivation, we have designed and implemented an explanation facility for the CORAL deductive database system. The design is based on the representation of a program evaluation as a set of derivation trees, and the facility provides a high-level explanation of the inferences carried out during program execution. A notable feature of the implementation is the boot-strapped use of CORAL in the implementation of the explanation tool. We believe that an explanation system can provide a novel approach to interactively querying data, and is useful even for standard relational databases.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Explaining Task Processing in Cognitive Assistants That Learn

As personal assistant software matures and assumes more autonomous control of user activities, it becomes more critical that this software can explain its task processing. It must be able to tell the user why it is doing what it is doing, and instill trust in the user that its task knowledge reflects standard practice and is being appropriately applied. We will describe the ICEE (Integrated Cog...

متن کامل

Trustable Task Processing Systems

As personal assistant software matures and assumes more autonomous control of user activities, it becomes more critical that this software can tell the user why it is doing what it is doing, and instill trust in the user that its task knowledge reflects standard practice and is being appropriately applied. Our research focuses broadly on providing infrastructure that may be used to increase tru...

متن کامل

Using Dynamic Symbolic Execution to Improve Deductive Verification

One of the most challenging problems in deductive program verification is to find inductive program invariants typically expressed using quantifiers. With strong-enough invariants, existing provers can often prove that a program satisfies its specification. However, provers by themselves do not find such invariants. We propose to automatically generate executable test cases from failed proof at...

متن کامل

Reading on Formal and Cognitive Semantics

semantic function to the concrete semantics, which are embodied onto the 1 changes of status of a finite set of variables constituting the semantic environment 2 of computing. 3 The theoretical foundations of deductive semantics are based on process alge4 bra and Boolean partial differentials [62, 63]. Based on the mathematical models 5 and architectural properties of a program at different com...

متن کامل

A selective enumeration based heuristic for rule allocation

A Distributed Deductive Database System consists of many autonomous deductive database systems connected by a computer network to facilitate sharing of both database and rules. The design of a distributed deductive database system diiers from the design of conventional non-distributed deductive database systems. The former requires design of distribution of both the database and rulebase, where...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993